﻿<%@ Page Language="C#" Theme="Default" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>
<%@ Import Namespace="Gasco.Business.Services" %>
<%@ Import Namespace="Gasco.DataAccess" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Threading" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">
    
    
    protected void Page_Load(Object sender, EventArgs e)
    {
        Control content;
        if (Request.QueryString.Count != 0)
        {
            content = Page.LoadControl(@"~/controls/" + Request.QueryString[0].ToString() + ".ascx");
            pl.Controls.Add(content);
        }
    }

    protected override void InitializeCulture()
    {
        string strLang = Request["ddlChangeLang"];
        if ((strLang == null) || (strLang == ""))
            strLang = ConfigurationManager.AppSettings["DefaultCulture"];
        Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture(strLang);
        Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(strLang);
        
        
    }

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title></title>
    <script src="js/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="js/jquery.accordion.js" type="text/javascript"></script>
    <script src="js/jquery.dimensions.js" type="text/javascript"></script>
    <script src="js/jquery.easing.js" type="text/javascript"></script>
    <script src="js/popupWindow.js" type="text/javascript"></script>
    <script src="js/JsFarsiCalendar.js" type="text/javascript"></script>
    <script src="js/JScript.js" type="text/javascript"></script>
    <script src="js/jquery.autocomplete.js" type="text/javascript"></script>
    <script src="js/jquery.colorbox.js" type="text/javascript"></script>
    <script src="js/date.js" type="text/javascript"></script>
    <script src="js/calendar.js" type="text/javascript"></script>
</head>

<body>
           <form id="form1" runat="server" >
            <div class="header">
            	<div id="logo"></div>
            	<div id="stat">
	            	<ul>
	            	 <li>
	            	  <asp:Literal runat="server" Id="lbWelcome" meta:resourcekey="lbWelcomeResource1" />
	            	  <asp:literal runat="server" ID="loadUsername" meta:resourcekey="loadUsernameResource1" 
                              />
	            	     |
	            	  <asp:LinkButton runat="server" ID="exit" Text="Logout" meta:resourcekey="exitResource1" 
                              />
	            	 </li>
	            	 <li>
	            	     <asp:Literal runat="server" ID="lbLastLoginDate" 
                             meta:resourcekey="lbLastLoginDateResource1" />
	            	     <asp:Literal runat="server" ID="loadLatestLogin" meta:resourcekey="loadLatestLoginResource1" 
                              />
	            	 </li>
	            	 <li>
	            	  <img src="App_Themes/Default/Images/user1.png" alt="" />
	            	  <asp:Literal runat="server" ID="lbOnlinserUser" 
                             meta:resourcekey="lbOnlinserUserResource1" />
	            	  <asp:Literal runat="server" ID="loadOnlineUseers" meta:resourcekey="loadOnlineUseersResource1" 
                              />
	            	 </li>
	            	 <li>
	            	  <img src="App_Themes/Default/Images/user2.png" alt="" />
	            	  <asp:Literal runat="server" ID="lbTotalUsers" 
                             meta:resourcekey="lbTotalUsersResource1" />
	            	  <asp:Literal runat="server" ID="loadTotlaUsers" 
                             meta:resourcekey="loadTotlaUsersResource1" />
	            	 </li>
	            	</ul>
            	</div>
            </div>
			<div class="toolbar" >
				<div class="toolbarLeft"></div>
				<div class="toolbarContent">
					<a href="#"><img src="App_Themes/default/images/24.png" alt="" /><asp:Literal 
                        runat="server" ID="lbShortCut1" meta:resourcekey="lbShortCut1Resource1" /></a>|
					<a href="#"><img src="App_Themes/default/images/45.png" alt="" /><asp:Literal 
                        runat="server" ID="lbShortCut2" meta:resourcekey="lbShortCut2Resource1" /></a> | 
					<a href="#"><img src="App_Themes/default/images/41.png" alt="" /><asp:Literal 
                        runat="server" ID="lbShortCut3" meta:resourcekey="lbShortCut3Resource1" /></a> 
                    | 
					<a href="#"><img src="App_Themes/default/images/40.png" alt="" /><asp:Literal 
                        runat="server" ID="lbShortCut4" meta:resourcekey="lbShortCut4Resource1" /></a> | 
					<a href="#"><img src="App_Themes/default/images/54.png" alt="" /><asp:Literal 
                        runat="server" ID="lbShortCut5" meta:resourcekey="lbShortCut5Resource1" /></a>
				</div>
				<div class="toolbarRight"></div>
				<div class="clear"></div>
			</div>
			<div class="toolbar">
				<div class="toolbarLeft"></div>
				<div class="toolbarContent">
					<a href="#"><img src="App_Themes/default/images/14.png" alt="" /><asp:Literal 
                        runat="server" ID="lbShortCut6" meta:resourcekey="lbShortCut6Resource1" /></a> 
                    | 
					<a href="#"><img src="App_Themes/default/images/31.png" alt="" /><asp:Literal 
                        runat="server" ID="lbShortCut7" meta:resourcekey="lbShortCut7Resource1" /></a> 
                    |
                    <asp:Literal runat="server" ID="lbChangeLang" meta:resourcekey="lbChangeLangResource1" />
                    <asp:DropDownList ID="ddlChangeLang" style="font:10px tahoma;" runat="server" 
                        AutoPostBack="True" meta:resourcekey="ddlChangeLangResource1">
                     <asp:ListItem Value="fa-IR" Selected="True" meta:resourcekey="ListItemResource1" >فارسی</asp:ListItem>
                     <asp:ListItem Value="en-US" meta:resourcekey="ListItemResource2">English</asp:ListItem>
                    </asp:DropDownList>    
				</div>
				<div class="toolbarRight"></div>
				<div class="clear"></div>
			</div>
 		   <div class="clear"></div>
           <div id="navigation" >
            <ul id="nav">
				<li>
					<a class="head" href="#">
					<asp:Literal runat="server" ID="lbMainMenuHeader1" 
                        meta:resourcekey="lbMainMenuHeader1Resource1" />
					<img src="App_Themes/default/images/kllckety.png" alt="" /></a>
					<ul>
						<li><a href="?contact_index"><asp:Literal runat="server" ID="lbMainMenuHeader1Child1" 
                                meta:resourcekey="lbMainMenuHeader1Child1Resource1" /></a></li>
                        
                        <li><a href="?platts_index"><asp:Literal runat="server" ID="Literal4"
                                meta:resourcekey="lbMainMenuHeader1Child14Resource1" /></a></li> 
                                
                                
						<li><a href="?origin_index"><asp:Literal runat="server" ID="lbMainMenuHeader1Child2" 
                                meta:resourcekey="lbMainMenuHeader1Child2Resource1" /></a></li>
						<li><a href="?product_index"><asp:Literal runat="server" ID="lbMainMenuHeader1Child3" 
                                meta:resourcekey="lbMainMenuHeader1Child3Resource1" /></a></li>
                        <li><a href="?lookup_index&type=country"><asp:Literal runat="server" ID="lbMainMenuHeader1Child4"
                                meta:resourcekey="lbMainMenuHeader1Child4Resource1" /></a></li>        
                        <li><a href="?city_index"><asp:Literal runat="server" ID="lbMainMenuHeader1Child5"
                                meta:resourcekey="lbMainMenuHeader1Child5Resource1" /></a></li>        
                        <li><a href="?lookup_index&type=platts_type"><asp:Literal runat="server" ID="lbMainMenuHeader1Child9"
                                meta:resourcekey="lbMainMenuHeader1Child9Resource1" /></a></li>                                
                        <li><a href="?lookup_index&type=product_type"><asp:Literal runat="server" ID="lbMainMenuHeader1Child10"
                                meta:resourcekey="lbMainMenuHeader1Child10Resource1" /></a></li>                                
                        <li><a href="?lookup_index&type=unit"><asp:Literal runat="server" ID="Literal1"
                                meta:resourcekey="lbMainMenuHeader1Child11Resource1" /></a></li>                                
                        <li><a href="?lookup_index&type=currency"><asp:Literal runat="server" ID="Literal3"
                                meta:resourcekey="lbMainMenuHeader1Child13Resource1" /></a></li> 
                        <li><a href="?lookup_index&type=transportation_type"><asp:Literal runat="server" ID="Literal6"
                                meta:resourcekey="lbMainMenuHeader1Child16Resource1" /></a></li> 
                        <li><a href="?lookup_index&type=border"><asp:Literal runat="server" ID="Literal7"
                                meta:resourcekey="lbMainMenuHeader1Child17Resource1" /></a></li>  
					</ul> 
				</li>
				<!--
				<li>
					<a class="head" href="#"><asp:Literal runat="server" ID="lbMainMenuHeader2" 
                        meta:resourcekey="lbMainMenuHeader2Resource1" />
					<img src="App_Themes/default/images/kuser.png" alt="" /></a>
					<ul>
						<li><a href="?"><asp:Literal runat="server" ID="lbMainMenuHeader2Child1" 
                                meta:resourcekey="lbManiMenuHeader2Child1Resource1" /></a></li>
						<li><a href="?"><asp:Literal runat="server" ID="lbMainMenuHeader2Child2" 
                                meta:resourcekey="lbManiMenuHeader2Child2Resource1" /></a></li>
						<li><a href="?"><asp:Literal runat="server" ID="lbMainMenuHeader2Child3" 
                                meta:resourcekey="lbManiMenuHeader2Child3Resource1" /></a></li>
					</ul> 
				</li>
				-->
				<li>
					<a class="head" href="#"><asp:Literal runat="server" ID="lbMainMenuHeader3" 
                        meta:resourcekey="lbMainMenuHeader3Resource1" />
					<img src="App_Themes/default/images/loading.png" alt="" /></a>
					<ul>
					    <li><a href="?order_index&order_type=1"><asp:Literal runat="server" ID="Literal5"
                                meta:resourcekey="lbMainMenuHeader1Child15Resource1" /></a></li> 
                        <li><a href="?order_index&order_type=2"><asp:Literal runat="server" ID="Literal2"
                                meta:resourcekey="lbMainMenuHeader1Child18Resource1" /></a></li> 
						<li><a href="?loading_index"><asp:Literal runat="server" ID="lbMainMenuHeader3Child1" 
                                meta:resourcekey="lbMainMenuHeader3Child1Resource1" /></a></li>                               
					</ul> 
				</li>
			</ul>
            </div>
            <div id="content">
            	<asp:PlaceHolder runat="server" ID="pl" >  
            	</asp:PlaceHolder>
            </div>
            <div class="clear"></div>
            </form>
</body>

</html>
